package com.ch.sys.service;

import org.springframework.stereotype.Service;

import com.ch.fastbuilder.annotation.Transaction;
import com.ch.sys.model.Employee;

@Service("employeeService")
public class EmployeeService {

	@Transaction(readOnly = true, DataSource = "masterDataSource")
	public Employee getByAccountPwd(String account, String password) {
		Employee employee = Employee.getByAccountPwd(account, password);
		return employee;
	}
}
